/**
 * Created by Nick Parfene. Please write to nick@tmro.net if you accidentally got this file 
 */
package net.tmro.ratapato.model.loyalty;

import java.util.HashSet;

import net.tmro.ratapato.model.retailer.StoreChain;

/**
 * A loyalty scheme can be applied to more than one store chain. (If you want to
 * apply it to just a store then you need to create a StoreChain just for it).
 * Other than name a loyalty scheme can have other properties but they will be
 * added to this class later.
 * 
 * @author nick
 * 
 */
public class LoyaltyScheme {

	private String name;

	private HashSet<StoreChain> stores = new HashSet<StoreChain>();

	/**
	 * Default constructor
	 */
	public LoyaltyScheme() {

	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the stores
	 */
	public HashSet<StoreChain> getStores() {
		return stores;
	}

	/**
	 * @param stores
	 *            the stores to set
	 */
	public void setStores(HashSet<StoreChain> stores) {
		this.stores = stores;
	}
}
